Add Prometheus telemetry for token generation and system metrics#1
Open
ttaylor92 wants to merge 6 commits intoscalability-and-distributionfrom
Open
Add Prometheus telemetry for token generation and system metrics#1ttaylor92 wants to merge 6 commits intoscalability-and-distributionfrom
ttaylor92 wants to merge 6 commits intoscalability-and-distributionfrom
Conversation
Owner
ttaylor92
commented
Feb 16, 2025
- Integrated prometheus_telemetry for system monitoring
- Added configuration for telemetry metrics and buckets
- Created TokenPipeline metrics module for tracking token generation
- Updated TokenProducerConsumer to include telemetry span for token generation
- Added Prometheus telemetry to Application supervisor
- Integrated prometheus_telemetry for system monitoring - Added configuration for telemetry metrics and buckets - Created TokenPipeline metrics module for tracking token generation - Updated TokenProducerConsumer to include telemetry span for token generation - Added Prometheus telemetry to Application supervisor
- Added SecurityClearanceQueue for managing user processing workflow - Created ResourceScheduler for daily user checkin and processing - Updated TokenProducer to use SecurityClearanceQueue for user retrieval - Modified AccountManagement and User schemas to support flexible user ID retrieval - Updated metrics and application configuration to integrate new components
- Added debug logging for user check-in in SecurityClearanceQueue - Updated TokenConsumer to configure minimum demand for token processing - Enhanced TokenProducer to immediately push new user tokens - Modified user mutation test to validate email format error - Updated user subscription test to initialize additional system components
- Added Prometheus configuration file with scrape settings - Created Grafana dashboards for Ecto, GraphQL, and Token Pipeline metrics - Updated Ecto metrics configuration to use specific repo metrics - Modified TokenPipeline metrics to improve event naming and tracking - Adjusted ResourceScheduler interval for more frequent processing - Enhanced token generation metrics with duration tracking
- Added safety check in TokenCache to prevent duplicate ETS table creation - Refactored test files to improve code formatting and readability - Updated user mutation test to use more appropriate error code - Adjusted user subscription test to increase timeout and add TokenCache initialization - Simplified DataCase and SubscriptionCase module definitions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.